package com.cmwa.solution.sys.opinion.entity;

import com.cmwa.solution.base.entity.BaseVo;
import com.cmwa.solution.sys.msg.util.StringUtil;
import com.cmwa.solution.sys.opinion.enums.HisActionTyps;
import com.cmwa.solution.sys.opinion.enums.HisType;

/**
 * @author
 * @date
 * @description 历史意见表
 */
public class HistoryOpinionVo extends BaseVo {

	/**
	 * 历史意见流水号(YYYYMMDD+6位流水)
	 */
	private String hisId;

	/**
	 * 来源ID
	 */
	private String sourceId;

	/**
	 * 历史操作状态
	 */
	private HisActionTyps hisAction;

	/**
	 * 历史意见
	 */
	private String hisOpinion;

	/**
	 * 替换历史意见
	 */
	@SuppressWarnings("unused")
	private String hisOpinionReplace;

	/**
	 * 类型
	 */
	private HisType hisType;

	public String getHisId() {
		return hisId;
	}

	public void setHisId(String hisId) {
		this.hisId = hisId;
	}

	public String getSourceId() {
		return sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

	public HisActionTyps getHisAction() {
		return hisAction;
	}

	public void setHisAction(HisActionTyps hisAction) {
		this.hisAction = hisAction;
	}

	public void setHisType(HisType hisType) {
		this.hisType = hisType;
	}

	public HisType getHisType() {
		return hisType;
	}

	public String getHisOpinion() {
		return hisOpinion;
	}

	public String getHisOpinionReplace() {
		return StringUtil.replaceEnter(hisOpinion);
	}

	public void setHisOpinionReplace(String hisOpinionReplace) {
		this.hisOpinionReplace = hisOpinionReplace;
	}

	public void setHisOpinion(String hisOpinion) {
		this.hisOpinion = hisOpinion;
	}
}
